package com.aistar.pojo;

import java.io.Serializable;
import java.util.Date;

public class ContestMessage implements Serializable {
    private Integer contestMsgId;

    private Integer contestId;

    private Integer customerId;

    private Double contestMsgMark;

    private Date contestMsgStartTime;

    private Double contestMsgThroughTime;

    private Integer contestMsgRank;

    private Integer applyStatus;

    private Integer status;

    private String other1;

    private String other2;

    private static final long serialVersionUID = 1L;
    public ContestMessage(){}
    public ContestMessage(Integer contestMsgId, Integer contestId, Integer customerId, Double contestMsgMark, Date contestMsgStartTime, Double contestMsgThroughTime, Integer contestMsgRank, Integer applyStatus, Integer status, String other1, String other2) {
        this.contestMsgId = contestMsgId;
        this.contestId = contestId;
        this.customerId = customerId;
        this.contestMsgMark = contestMsgMark;
        this.contestMsgStartTime = contestMsgStartTime;
        this.contestMsgThroughTime = contestMsgThroughTime;
        this.contestMsgRank = contestMsgRank;
        this.applyStatus = applyStatus;
        this.status = status;
        this.other1 = other1;
        this.other2 = other2;
    }

    public Integer getContestMsgId() {
        return contestMsgId;
    }

    public void setContestMsgId(Integer contestMsgId) {
        this.contestMsgId = contestMsgId;
    }

    public Integer getContestId() {
        return contestId;
    }

    public void setContestId(Integer contestId) {
        this.contestId = contestId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Double getContestMsgMark() {
        return contestMsgMark;
    }

    public void setContestMsgMark(Double contestMsgMark) {
        this.contestMsgMark = contestMsgMark;
    }

    public Date getContestMsgStartTime() {
        return contestMsgStartTime;
    }

    public void setContestMsgStartTime(Date contestMsgStartTime) {
        this.contestMsgStartTime = contestMsgStartTime;
    }

    public Double getContestMsgThroughTime() {
        return contestMsgThroughTime;
    }

    public void setContestMsgThroughTime(Double contestMsgThroughTime) {
        this.contestMsgThroughTime = contestMsgThroughTime;
    }

    public Integer getContestMsgRank() {
        return contestMsgRank;
    }

    public void setContestMsgRank(Integer contestMsgRank) {
        this.contestMsgRank = contestMsgRank;
    }

    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1 == null ? null : other1.trim();
    }

    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2 == null ? null : other2.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", contestMsgId=").append(contestMsgId);
        sb.append(", contestId=").append(contestId);
        sb.append(", customerId=").append(customerId);
        sb.append(", contestMsgMark=").append(contestMsgMark);
        sb.append(", contestMsgStartTime=").append(contestMsgStartTime);
        sb.append(", contestMsgThroughTime=").append(contestMsgThroughTime);
        sb.append(", contestMsgRank=").append(contestMsgRank);
        sb.append(", applyStatus=").append(applyStatus);
        sb.append(", status=").append(status);
        sb.append(", other1=").append(other1);
        sb.append(", other2=").append(other2);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}